ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / GradientStopCollection Class / Create Method / Create(RenderTarget,GradientStop[],ExtendMode) Method
an instance of RenderTarget
A pointer to an array of D2D1_GRADIENT_STOP structures.
The behavior of the gradient outside the [0,1] normalized range.

In This Topic
    Create(RenderTarget,GradientStop[],ExtendMode) Method
    In This Topic
    Creates an GradientStopCollection from the specified gradient stops, color Gamma.StandardRgb, and extend mode.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal renderTarget As RenderTarget, _
       ByVal gradientStops() As GradientStop, _
       ByVal extendMode As ExtendMode _
    ) As GradientStopCollection

    Parameters

    renderTarget
    an instance of RenderTarget
    gradientStops
    A pointer to an array of D2D1_GRADIENT_STOP structures.
    extendMode
    The behavior of the gradient outside the [0,1] normalized range.
    See Also